<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout" layout:decorate="~{layout/storelayout}">
<head>
    <title>会员付款</title>
    <link th:href="@{/css/style.css}" rel="stylesheet" media="all">
</head>
<body>
<div layout:fragment="content">
    <fieldset class="layui-elem-field">
        <legend>会员 - 付款</legend>
        <div class="layui-field-box">
            <div class="layui-form" lay-filter="example">
                <div class="layui-input-block" style="float: left; position: relative;">
                    <label class="layui-form-label">会员搜索</label>
                    <input style="width: auto;" type="text" id="card" name="card" lay-verify="required" placeholder="请输入会员卡/手机号" autocomplete="off" class="layui-input">
                </div>
                <input type="text" id="storeId" name="storeId" th:value="${session.storeManage.id}" hidden/>
                <!-- 触发点击事件 -->
                <button class="layui-btn bn" lay-submit="" id="button" data-type="getInfo" style="float: left;">搜索</button>
                <table class="layui-table" lay-even="" lay-skin="row">
                    <colgroup>
                        <col width="150">
                        <col width="200">
                        <col width="150">
                        <col width="200">
                        <col>
                    </colgroup>
                    <thead>
                    <tr>
                        <th>会员卡号</th>
                        <th>用户名</th>
                        <th>手机号</th>
                        <th>余额</th>
                        <th>操作</th>
                    </tr>
                    </thead >
                    <tbody id="tab" >

                    </tbody>
                </table>
            </div>
        </div>
    </fieldset>
    <script>
        //JavaScript代码区域
        layui.use(['element','layer','jquery'], function(){
            var element = layui.element;
            var $ = layui.jquery, layer = layui.layer;
        });
    </script>
    <script th:src="@{/js/storePayment.js}" type="text/javascript"></script>
</div>
</body>
</html>